package com.mentaleye.dal.dao;

import com.mentaleye.bean.EmploymentTestimonialsBean;
import com.mentaleye.dal.model.EmploymentTestimonials;
import com.mentaleye.dal.model.EmploymentTestimonialsExample;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/6/6.
 */
public interface EmploymentTestimonialsDao {

    boolean insert(EmploymentTestimonials employmentTestimonials);

    boolean update(EmploymentTestimonials companyStudent);

    boolean updateByExample(EmploymentTestimonials employmentTestimonials,EmploymentTestimonialsExample employmentTestimonialsExample);

    boolean deleteByExample(EmploymentTestimonialsExample employmentTestimonialsExample);

    boolean delete(Integer recollectionsId);

    EmploymentTestimonials select(Integer recollectionsId);

    List<EmploymentTestimonials> selectByExample(EmploymentTestimonialsExample example);

    List<Map<String,Object>> selectByIdMap(EmploymentTestimonialsBean bean);

    List<Map<String,Object>> selectByMap(Map<String,Object> map);

    List<Map<String,Object>> selectByStudent();

    Map<String,Object> selectBystuId(Integer id);
}
